package com.zjdiepu.www.model.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.zjdiepu.www.base.core.BaseModel;

/**
 * <br/>
 * @author zhangpp<br/>
 * @time 2017年06月01日 19时33分<br/>
 * @since 1.0<br/>
 */
@ApiModel(value="BaseShortMessage", description="", parent = BaseModel.class)
public class BaseShortMessage extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 手机号码
	 */
	@ApiModelProperty(name="phone",required=false,value="手机号码",example="手机号码")
	private String phone;
	
	/**
	 * 验证码
	 */
	@ApiModelProperty(name="phoneCode",required=false,value="验证码",example="0")
	private Integer phoneCode;
	
	/**
	 * 发送短信的标识
	 */
	@ApiModelProperty(name="flag",required=false,value="发送短信的标识",example="0")
	private Integer flag;
	
	/**
	 * 发送短信的具体返回
	 */
	@ApiModelProperty(name="message",required=false,value="发送短信的具体返回",example="发送短信的具体返回")
	private String message;
	
	/**
	 * 1：消息  2：验证码  3：其他
	 */
	@ApiModelProperty(name="dpType",required=false,value="1：消息  2：验证码  3：其他",example="0")
	private Integer dpType;
	
	/**
	 * 数据类型:1.系统生成 2.导入数据
	 */
	@ApiModelProperty(name="typeData",required=false,value="数据类型:1.系统生成 2.导入数据",example="0")
	private Integer typeData;
	
	public String getPhone(){
		return this.phone;
	}
	
	public void setPhone(String phone){
		this.phone = phone;
	}

	public Integer getPhoneCode(){
		return this.phoneCode;
	}
	
	public void setPhoneCode(Integer phoneCode){
		this.phoneCode = phoneCode;
	}

	public Integer getFlag(){
		return this.flag;
	}
	
	public void setFlag(Integer flag){
		this.flag = flag;
	}

	public String getMessage(){
		return this.message;
	}
	
	public void setMessage(String message){
		this.message = message;
	}

	public Integer getDpType(){
		return this.dpType;
	}
	
	public void setDpType(Integer dpType){
		this.dpType = dpType;
	}

	public Integer getTypeData(){
		return this.typeData;
	}
	
	public void setTypeData(Integer typeData){
		this.typeData = typeData;
	}

	@Override
	public String toString() {
		return super.toString() + "BaseShortMessage [phone = " + phone + ", phoneCode = " + phoneCode + ", flag = " + flag + ", message = " + message + ", dpType = " + dpType + ", "
			+ "typeData = " + typeData + "]";
	}
    
}